package com.willy.ratingbar;

import ohos.media.image.PixelMap;

/**
 * Created by willy on 2017/5/10.
 */
interface SimpleRatingBar {

    void setNumStars(int numStars);

    int getNumStars();

    void setRating(float rating);

    float getRating();

    void setStarWidth(int starWidth);

    int getStarWidth();

    void setStarHeight(int starHeight);

    int getStarHeight();

    void setStarPadding(int ratingPadding);

    int getStarPadding();

    void setEmptyDrawable(PixelMap drawable);

    void setEmptyDrawableRes(int res);

    void setFilledDrawable(PixelMap drawable);

    void setFilledDrawableRes(int res);

    void setMinimumStars(float minimumStars);

    boolean isIndicator();

    void setIsIndicator(boolean indicator);

    boolean isScrollable();

    void setScrollable(boolean scrollable);

    boolean isClickable();

    void setClickable(boolean clickable);

    void setClearRatingEnabled(boolean enabled);

    boolean isClearRatingEnabled();

    float getStepSize();

    void setStepSize(float stepSize);
}